package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.MallBillStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 商城账单后端
 *
 * @author liGen
 * @version 1.0
 * @date 2024/1/18 11:53 上午
 */
@Data
public class MallBillAdminPageDTO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "结算编号")
    private String settlementNo;

    @ApiModelProperty(value = "dao名称")
    private String daoName;

    @ApiModelProperty(value = "结算名称")
    private String billName;

    @ApiModelProperty(value = "账单结算金额")
    private BigDecimal billAmount;

    @ApiModelProperty(value = "结算日期")
    private Date billTime;

    @ApiModelProperty(value = "账单状态:0-对账中,1-已拒绝,2-对账成功，待开票,3-财务审核中,4-已完成,5-财务拒绝")
    private MallBillStatusEnum status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "发票")
    private List<FinanceFileDTO> invoice;

    @ApiModelProperty(value = "发票Json")
    private String invoiceJson;

    @ApiModelProperty(value = "发票文件类型")
    private String invoiceType;

    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
